﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace GeoBox.Database
{
    public class Device
    {
        public int Id { get; set; }
        public string Name { get; set; }

        public virtual GpsPoint LastLocation { get; set; }
        public virtual ICollection<GpsPoint>  GpsPoints { get; set; }

        public DateTime UtcLastContact { get; set; }
    }
}
